package Project3;
/**
 * 
 * @author Timothy Green
 * @version v 0.1
 * 	This is the class we use to describe a point of the board 
 * of battleships
 */

public class Point {
	public Point () {
		int xCords = 0;
		int yCords = 0;
	}
	public Point(int x, int y) {
		yCords = y;
		xCords = x;
	}
	public void setXCords ( int x,) {
		xCords = x;
		yCords = y;
	}
	/* There isn't any way to get the specific data with 
		this. With a setter and getters you need to be able to
		get individual variables from the Class
		
		Also usually raw getters do not pass parameters
	public void setYCords ( int y) {
		
		
	}*/
	public int getX() {
		return xCords;
	}
	
	public int getY() {
		return yCords;
	}
	/*
	 * Both of these variables need setters and getters. 
	 * There needs to be 2 constructors 
	 * 1 that sets a default of 0,0
	 * And another that allows you to pass two Integers.
	 * 	The two integers will then set the private variables.
	 */
	// X -cords
	private int xCords;
	// Y -cords
	private int yCords;
	
}
